package com.zxy.ziems.server.monitor.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxy.btp.mybatis.base.BaseEntity;
import lombok.Data;

/**
 * @Copyright (C),
 * @ClassName: MonitorGroupDeviceEntity
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/5/16 17:18
 */
@Data
@TableName("t_monitor_group_device")
public class MonitorGroupDeviceEntity extends BaseEntity {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 分组ID
     */
    @TableField("group_id")
    private String groupId;

    /**
     * 设备ID
     */
    @TableField("device_id")
    private String deviceId;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;
}
